package com.kazu.skill.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.kazu.utils.validator.InsertGroup;
import com.kazu.utils.validator.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 技能信息
 * </p>
 *
 * @author kazu
 * @since 2023/02/19 10:22
 */
@Data
@TableName("kazu_skill_info")
@Schema(name = "SkillInfoVo对象", description = "技能信息Vo")
public class SkillInfoVo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@Schema(name = "id", description = "id")
	@NotBlank(groups = {UpdateGroup.class})
	private Long id;
	
	@Schema(name = "skillIcon", description = "技术图标URL（svg格式）")
	@NotBlank(groups = {InsertGroup.class, UpdateGroup.class})
	private String skillIcon;
	
	@Schema(name = "skillName", description = "技术名称")
	@NotBlank(groups = {InsertGroup.class, UpdateGroup.class})
	private String skillName;
	
	@Schema(name = "skillIntro", description = "技术简介")
	@NotBlank(groups = {InsertGroup.class, UpdateGroup.class})
	private String skillIntro;
	
	@Schema(name = "skillInfo", description = "技术详情URL（md文档）")
	@NotBlank(groups = {InsertGroup.class, UpdateGroup.class})
	private String skillInfo;
	
	@Schema(name = "isDeleted", description = "是否删除(0-未删, 1-已删)")
	@NotBlank(groups = {InsertGroup.class, UpdateGroup.class})
	private Byte isDeleted;
	
	
}




